/**
 * 文本链接 a
 */
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};

	
if(location.href=="http://jr.jl.gov.cn/" || location.href=="http://jr.jl.gov.cn/index.html"){
//首页
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("table:first").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("table:first .wang-header-top3").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("#link_tab_c9").next().attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("#wang-contents .wang-cent").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("#wang-contents .main .wang-left-top1-lef").addClass("navBlock");
	$("#wang-contents .main .wang-left-top1-rig").addClass("navBlock");
	$("#wang-contents .main .wang-left-top2:eq(0)").addClass("navBlock");
	$("#tabBox2").addClass("navBlock");
	$("#tabBox3").addClass("navBlock");
	$("#tabBox4").addClass("navBlock");
	$("#tabBox5").addClass("navBlock");
	$("#wang-contents .main .wang-left-top3 .wang-rig1 .wang-rig1-a").addClass("navBlock");
	$("#wang-contents .main .wang-left-top3 .wang-rig1 .wang-menu").addClass("navBlock");
	$("#wang-contents .main .wang-left-top2:eq(1)").addClass("navBlock");
	$("#wang-contents .main .jrb-w980").addClass("navBlock");
	$("#wang-footer").addClass("navBlock");


	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个


}

if(location.href=="http://jr.jl.gov.cn/jggk/gkxx/" || location.href=="http://jr.jl.gov.cn/zwdt/" || location.href=="http://jr.jl.gov.cn/jrzx/" || location.href=="http://jr.jl.gov.cn/jrzc/" || location.href=="http://jr.jl.gov.cn/dfjr_142775/" || location.href=="http://jr.jl.gov.cn/jrsj/" || location.href=="http://jr.jl.gov.cn/jrzt/" || location.href=="http://jr.jl.gov.cn/zxfw/ldxx/"){
	//导航的二级页
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("body>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("body>table:eq(0) .wang-header-top3").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("#_trs_ta_js").prev().attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".content").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".content .content_lj_l").attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".content .content_lj_r").attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".content .position").addClass("navBlock");
	$(".content .content_lj").addClass("navBlock");
	$(".content .content_lj_l").addClass("navBlock");
	$(".content .content_lj_r").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


if(location.href=="http://jr.jl.gov.cn/zxfw/ldxx/" || location.href=="http://jr.jl.gov.cn/zxfw/zxzx/" || location.href=="http://jr.jl.gov.cn/zxfw/dczj/" || location.href=="http://jr.jl.gov.cn/zxfw/jdts/"){
	//领导信箱-在线咨询-征集调查-监督投诉
	//主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("body>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("body>table:eq(0) .wang-header-top3").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("#_trs_ta_js").prev().attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".content").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	//给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".content>div").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个

}


//有面包屑导航的，非首页
if( $(".CurrChnlCls").length > 0 ){
	$("body>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$("body>table:eq(0) .wang-header-top3").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$("#_trs_ta_js").prev().attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$(".content").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".TRS_Editor").attr("id","content");
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	
	$("body>table:eq(0)").addClass("navBlock");
	$("body>table:eq(0) .wang-header-top3").addClass("navBlock");
	$("#_trs_ta_js").prev().addClass("navBlock");
	$(".content").addClass("navBlock");
	$(".TRS_Editor").addClass("navBlock");
	
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}




